package com.zjy.basic.domain.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class SmsDto {
    @NotEmpty(message = "手机号码不可为空") //使用时不能为空
    private String phone;
    @NotEmpty(message = "验证码不能为空")
    private String smsCode;
    @NotEmpty(message = "密码不可为空") //使用时不能为空
    private String password;
    @NotEmpty(message = "重复密码不可为空") //使用时不能为空
    private String confirmPassword;
    private String imageCode;
    private String imageCodeKey;
}
